/**
 * @Description: 除install方法外，对象属性将会全局挂载
 */
const constants = {
  install(app: any) {
    Object.keys(this).filter(_ => _ !== 'install').forEach(key => {
      app.config.globalProperties[`$${key}`] = this[key]
    }
    )
  },
  BASE_DICT_URL: "/dict",
}

export default constants
